/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.mes.quality.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 质量分析-总成加工参数实体类
 *
 * @author liuchao
 * @since 2023-02-20
 */
@Data
@TableName("qua_analysis_process_param")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AnalysisProcessParam对象", description = "质量分析-总成加工参数")
public class AnalysisProcessParam extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 总成号
     */
    @ApiModelProperty(value = "总成号")
    private String assemblyNo;
    /**
     * 参数类型（2.AUE数据分析 3.ABS数据分析 4.焊接电流电压 5.气密性分析）
     */
    @ApiModelProperty(value = "参数类型（1.拧紧曲线分析 2.AUE数据分析 3.ABS数据分析 4.焊接电流电压 5.气密性分析 6.半轴压装）")
    private String type;
    /**
     * 总成条码号/总成流水号
     */
    @ApiModelProperty(value = "总成条码号/总成流水号")
    private String assemblyBarcode;
    /**
     * 工位/工序
     */
    @ApiModelProperty(value = "工位/工序")
    private String station;
    /**
     * 生产线
     */
    @ApiModelProperty(value = "生产线")
    private String productionLine;
    /**
     * 程序点/焊接台号
     */
    @ApiModelProperty(value = "程序点/焊接台号")
    private String programPoint;
    /**
     * 装配点/焊缝号
     */
    @ApiModelProperty(value = "装配点/焊缝号")
    private String assemblyPoint;

    /**
     * 通道号/程序号描述/焊缝号
     */
    @ApiModelProperty(value = "通道号/程序号描述/焊缝号")
    private String channelDescription;
    /**
     * 扭紧名称
     */
    @ApiModelProperty(value = "扭紧名称")
    private String tightenName;
    /**
     * 合格状态/曲线结果
     */
    @ApiModelProperty(value = "合格状态/曲线结果")
    private String qualifiedState;
    /**
     * 参数说明
     */
    @ApiModelProperty(value = "参数说明")
    private String parameterDescription;
    /**
     * 采集时间/焊接时间
     */
    @ApiModelProperty(value = "采集时间/焊接时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dataTime;

    @ApiModelProperty(value = "采集时间/焊接时间开始时间")
    @TableField(exist = false)
    private String dataStartTime;

    @ApiModelProperty(value = "采集时间/焊接时间结束时间")
    @TableField(exist = false)
    private String dataEndTime;

    /**
     * 最小扭矩/最小范围/泄漏率最小范围/力最小值/焊接电流下限
     */
    @ApiModelProperty(value = "最小扭矩/最小范围/泄漏率最小范围/力最小值/焊接电流下限")
    private String data1;
    /**
     * 最终扭矩/结果值/泄漏率结果值/压力值/焊接电流结果值
     */
    @ApiModelProperty(value = "最终扭矩/结果值/泄漏率结果值/压力值/焊接电流结果值")
    private String data2;
    /**
     * 最大扭矩/最大范围/泄漏率最大范围/力最大值/焊接电流上限
     */
    @ApiModelProperty(value = "最大扭矩/最大范围/泄漏率最大范围/力最大值/焊接电流上限")
    private String data3;
    /**
     * 最小角度/压力最小范围/位移最小值/电压下限
     */
    @ApiModelProperty(value = "最小角度/压力最小范围/位移最小值/电压下限")
    private String data4;
    /**
     * 最终角度/压力结果值/压入位移/电压结果值
     */
    @ApiModelProperty(value = "最终角度/压力结果值/压入位移/电压结果值")
    private String data5;
    /**
     * 最大角度/压力最大范围/位移最大值/电压下限
     */
    @ApiModelProperty(value = "最大角度/压力最大范围/位移最大值/电压下限")
    private String data6;
    /**
     * 角度曲线数据
     */
    @ApiModelProperty(value = "角度曲线数据")
    private String data7;
    /**
     * 扭矩曲线数据
     */
    @ApiModelProperty(value = "扭矩曲线数据")
    private String data8;
    /**
     * 斜率曲线数据
     */
    @ApiModelProperty(value = "斜率曲线数据")
    private String data9;
    /**
     * 时间曲线数据
     */
    @ApiModelProperty(value = "时间曲线数据")
    private String data10;

	/**
	 * 最小扭矩/最小范围/泄漏率最小范围/力最小值/焊接电流下限
	 */
	@ApiModelProperty(value = "最小扭矩/最小范围/泄漏率最小范围/力最小值/焊接电流下限")
	private String dataName1;
	/**
	 * 最终扭矩/结果值/泄漏率结果值/压力值/焊接电流结果值
	 */
	@ApiModelProperty(value = "最终扭矩/结果值/泄漏率结果值/压力值/焊接电流结果值")
	private String dataName2;
	/**
	 * 最大扭矩/最大范围/泄漏率最大范围/力最大值/焊接电流上限
	 */
	@ApiModelProperty(value = "最大扭矩/最大范围/泄漏率最大范围/力最大值/焊接电流上限")
	private String dataName3;
	/**
	 * 最小角度/压力最小范围/位移最小值/电压下限
	 */
	@ApiModelProperty(value = "最小角度/压力最小范围/位移最小值/电压下限")
	private String dataName4;
	/**
	 * 最终角度/压力结果值/压入位移/电压结果值
	 */
	@ApiModelProperty(value = "最终角度/压力结果值/压入位移/电压结果值")
	private String dataName5;
	/**
	 * 最大角度/压力最大范围/位移最大值/电压下限
	 */
	@ApiModelProperty(value = "最大角度/压力最大范围/位移最大值/电压下限")
	private String dataName6;
	/**
	 * 角度曲线数据
	 */
	@ApiModelProperty(value = "角度曲线数据")
	private String dataName7;
	/**
	 * 扭矩曲线数据
	 */
	@ApiModelProperty(value = "扭矩曲线数据")
	private String dataName8;
	/**
	 * 斜率曲线数据
	 */
	@ApiModelProperty(value = "斜率曲线数据")
	private String dataName9;
	/**
	 * 时间曲线数据
	 */
	@ApiModelProperty(value = "时间曲线数据")
	private String dataName10;


    @ApiModelProperty(value = "应急生产（1是，2否）")
    private String emergencyProduction;
}
